<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>会员签到-云码素材</title>
    <link rel="stylesheet" href="__PLUGIN_TMPL__/public/assets/css/qiandao_style.css">
    <link rel=icon type=image/x-icon href="__PLUGIN_TMPL__/public/assets/images/favicon.ico">
</head>

<body>
<div class="qiandao-warp">
    <div class="qiandap-box">
        <div class="qiandao-banner">
            <img src="__PLUGIN_TMPL__/public/assets/images/qiandao_banner.jpg" height="551" width="1120" alt="">
        </div>
        <div class="qiandao-con clear">
            <div class="qiandao-left">
                <div class="qiandao-left-top clear">
                    <div class="current-date">2016年1月6日</div>
                    <div class="qiandao-history qiandao-tran qiandao-radius" id="js-qiandao-history">我的签到</div>
                </div>
                <div class="qiandao-main" id="js-qiandao-main">
                    <ul class="qiandao-list" id="js-qiandao-list">
                    </ul>
                </div>
            </div>
            <div class="qiandao-right">
                <div class="qiandao-top">
                    <div class="just-qiandao <if condition='($is_sign==0)'>qiandao-sprits<else/>qiandao-sprits actived</if>" id="js-just-qiandao">
                    </div>
                    <p class="qiandao-notic"><if condition='($is_sign==1)'>今日已领<span>{$today_score}</span>积分，请明日继续签到<else/>今日还未签到！</if></p>
                </div>
                <div class="qiandao-bottom">
                    <div class="qiandao-rule-list">
                        <h4>签到规则</h4>
                        <p>第一天签到获得1积分奖励</p>
                        <p>连续签到几天就得到几个积分奖励</p>
                        <p>多签到，多得积分</p>
                    </div>
                    <div class="qiandao-rule-list">
                        <h4>其他说明</h4>
                        <p>如果中间有一天间断未签到的，重先开始计算连续签到时间。</p>
                        <p>连续签到获得积分奖励后，积分直接到帐。</p>
                        <p>获得的积分奖励不能直接提现，只能兑换相应积分产品。</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 我的签到 layer start -->
<div class="qiandao-layer qiandao-history-layer" <if condition='(!empty($pa))'> style="display: block;"</if>>
    <div class="qiandao-layer-con qiandao-radius">
        <a href="javascript:;" class="close-qiandao-layer qiandao-sprits"></a>
        <ul class="qiandao-history-inf clear">
            <li>
                <p>连续签到</p>
                <h4>{$today_score}</h4>
            </li>
            <li>
                <p>本月签到</p>
                <h4>{$month_count}</h4>
            </li>
            <li>
                <p>总共签到数</p>
                <h4>{$year_count}</h4>
            </li>
            <li>
                <p>签到累计奖励</p>
                <h4>{$score}</h4>
            </li>
        </ul>
        <div class="qiandao-history-table">
            <table>
                <thead>
                <tr>
                    <th>签到日期</th>
                    <th>奖励</th>
                    <th>说明</th>
                </tr>
                </thead>
                <table id="signlist">
                    <volist name="list" id="vo">
                    <tr>
                        <td>{$vo.create_time|date="Y-m-d",###}</td>
                        <td>{$vo.score}</td>
                        <td>连续签到{$vo.score}天奖励</td>
                    </tr>
                    </volist>
                    <tr>
                        <td colspan="3"><div class="paging mt40">
                            {$page}
                        </div></td>
                    </tr>
                </table>
            </table>
        </div>
    </div>
    <div class="qiandao-layer-bg"></div>
</div>
<!-- 我的签到 layer end -->
<!-- 签到 layer start -->
<div class="qiandao-layer qiandao-active">
    <div class="qiandao-layer-con qiandao-radius">
        <a href="javascript:;" class="close-qiandao-layer qiandao-sprits"></a>
        <div class="yiqiandao clear">
            <div class="yiqiandao-icon qiandao-sprits"></div>您已连续签到<span id="sign_date">1</span>天
        </div>
        <div class="qiandao-jiangli qiandao-sprits">
            <span class="qiandao-jiangli-num"><em id="sign_count">1</em><em>积分</em></span>
        </div>
        <a href="{:cmf_url('user/pay/myscore')}" class="qiandao-share qiandao-tran">查看我的积分</a>
    </div>
    <div class="qiandao-layer-bg"></div>
</div>
<!-- 签到 layer end -->
<script src="__PLUGIN_TMPL__/public/assets/js/jquery-1.10.2.min.js"></script>
<script src="__PLUGIN_TMPL__/public/assets/js/qiandao_js.js"></script>
</body>

</html>